import request from '@/utils/request'

// 检查场地时间段是否可用
export function checkPlaceAvailability(query) {
  return request({
    url: '/manager/reservation/check',
    method: 'get',
    params: query
  })
}

//用户创建预约
export function addReservationDTO(data) {
  return request({
    url: '/manager/reservation/userAdd',
    method: 'post',
    data: data
  })
}


